package com.lzw.breezeNovel.model.entity.pojo.novel;

import com.lzw.breezeNovel.model.entity.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo
 * @date 2025/3/3
 * @description 小说排行榜
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class BookRanking extends  BaseQuery {

    @Schema(description = "排行榜id")
    private Long rankingId;

    @Schema(description = "小说id")
    private Long bookId;

    @Schema(description = "排行榜的类型")
    private Integer rankingType;

    @Schema(description = "排名")
    private Integer ranking;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "关联的小说")
    private Book book;
}
